package njust.domain;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("serial")
public class Message implements java.io.Serializable{
 private int id;
 private int userid;
 private java.sql.Timestamp time;
 private String content;
 private Set<Respond> respond = new HashSet<Respond>();
 private Goods goods = new Goods();
public Goods getGoods() {
	return goods;
}
public void setGoods(Goods goods) {
	this.goods = goods;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public int getUserid() {
	return userid;
}
public void setUserid(int userid) {
	this.userid = userid;
}

public java.sql.Timestamp getTime() {
	return time;
}
public void setTime(java.sql.Timestamp time) {
	this.time = time;
}
public String getContent() {
	return content;
}
public void setContent(String content) {
	this.content = content;
}
public Set<Respond> getRespond() {
	return respond;
}
public void setRespond(Set<Respond> respond) {
	this.respond = respond;
}
 
}
